package com.sbr.tbd.dao;

import org.synyx.hades.dao.GenericDao;
import org.synyx.hades.dao.Param;
import org.synyx.hades.dao.Query;

import com.sbr.tbd.model.Feature;

public interface FeatureDao extends GenericDao<Feature, Integer>{

	@Query("select 1 from Feature where name = :name")
	Integer isNameAlreadyUsed(@Param("name") String name);


}
